Skip to content

Update setup-rust dependencies for Node.js 24 - #396

Open
lodyai[bot] wants to merge 8 commits into
mainfrom
issue-81-update-setup-rust-action-dependencies-to-remove-node-js-20-deprecation-warnings
Open

Update setup-rust dependencies for Node.js 24#396
lodyai[bot] wants to merge 8 commits into
mainfrom
issue-81-update-setup-rust-action-dependencies-to-remove-node-js-20-deprecation-warnings

Conversation

@lodyai

@lodyai lodyai Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

This branch updates every Node-based dependency in setup-rust to a verified, full-length commit SHA whose action metadata declares the Node.js 24 runtime. It preserves the action interface and cache configuration while removing GitHub Actions Node.js 20 deprecation warnings.

External tracking issue: agent-template-rust #81.

The consumer revision update remains release-dependent: consumer repositories should replace 19a7f5d1b8d5c1b2236c39720a5744492b3fc129 after this shared-action change is released.

Review walkthrough

Dependency revisions

  • actions/cache: 0057852bfaa89a56745cba8c7296529d2fc39830 (v4.3.0, Node.js 20) to 55cc8345863c7cc4c66a329aec7e433d2d1c52a9 (v6.1.0, Node.js 24).
  • mozilla-actions/sccache-action: 7d986dd989559c6ecdb630a3fd2557667be217ad (v0.0.9, Node.js 20) to fc920bf0ec8de6ee65d409111f7ec508035751ba (v0.0.11, Node.js 24).
  • msys2/setup-msys2: 4f806de0a5a7294ffabaff804b38a9b435a73bda (v2.30.0, Node.js 20) to 66cd2cce69caa17b53920067426061ca1de3a884 (v2.32.0, Node.js 24).

Validation

  • make check-fmt: passed; 217 files were already formatted.
  • make test: passed; 1,062 tests passed, 14 skipped and four snapshots passed.
  • make typecheck: passed.
  • make lint: passed, including shared-action validation.
  • make markdownlint: passed with zero errors.
  • make nixie: passed; all diagrams validated.
  • Focused manifest and workflow tests: passed; 23 tests passed and five opt-in runner cases were skipped.
  • ./.venv/bin/ty check --extra-search-path . tests/workflows: passed.
  • Focused act stable-toolchain contract: passed; one test passed and five were deselected.
  • Node.js 20/deprecation audit across the final gate logs: zero matches.
  • coderabbit review --agent: completed with zero findings.

Summary by Sourcery

Migrate setup-rust's Node-based dependencies to verified Node.js 24 revisions and strengthen validation of its supported workflow behavior.

Enhancements:

  • Update setup-rust's cache, sccache, and MSYS2 dependencies to verified Node.js 24-compatible commit pins while preserving its interface and cache behavior.
  • Add workflow coverage verifying that setup-rust makes the stable Rust toolchain available to downstream steps.
  • Improve type-checking configuration and stabilize Whitaker property tests against cold-start timing variability.

CI:

  • Add manifest assertions and runner-backed workflow tests covering the pinned Node.js 24 action revisions and downstream Rust tool availability.

Documentation:

  • Document the Node.js 24 dependency pins and maintenance process for setup-rust.

Tests:

  • Add regression coverage for exact dependency revisions and the supported setup-rust toolchain workflow path.

Chores:

  • Record the resolved Whitaker property-test flakiness and its investigation plan.

References

@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Summary

  • Pin actions/cache, mozilla-actions/sccache-action, and msys2/setup-msys2 to verified full-length Node.js 24 commit SHAs.
  • Preserve the existing setup-rust interface and cache configuration.
  • Add manifest regression tests for the exact revisions.
  • Add runner-backed workflow coverage for downstream rustc and cargo availability.
  • Document Node.js 24 pin maintenance and update the setup-rust README, user guide, developer guide, and changelog.
  • Pass formatting, type checking, linting, tests, documentation checks, diagram validation, workflow tests, and the Node.js 20 deprecation audit.

Walkthrough

Update the setup-rust GitHub Action pins for Node.js 24 support. Synchronize the README, changelog, and developer and user documentation. Add manifest checks and workflow tests for pinned revisions and Rust tool availability.

Changes

Setup Rust Node 24 migration

Layer / File(s) Summary
Update action pins and documentation
.github/actions/setup-rust/action.yml, .github/actions/setup-rust/README.md, .github/actions/setup-rust/CHANGELOG.md, docs/developers-guide.md, docs/users-guide.md
Update cache, sccache, MSYS2, and OpenBSD action revisions. Document the pinning process and record the v1.0.16 changes.
Validate pinned revisions
.github/actions/setup-rust/tests/test_setup_rust_manifest.py
Add expected Node.js 24 revisions and parametrised checks for the named manifest steps.
Validate Rust tool availability
.github/workflows/test-rustflags-export.yml, tests/workflows/test_rustflags_export_workflow.py
Add a workflow job and structural and Act-backed tests that verify later steps can run rustc and cargo.

Possibly related issues

  • leynos/agent-template-rust#81 — It updates and pins setup-rust dependencies for Node.js 24 compatibility.

Possibly related PRs

Suggested reviewers: leynos, codescene-access

Poem

Pin each action to Node 24.
Check every revision at the gate.
Keep stable Rust tools clear.
Verify cargo and rustc appear.
Record the update and validate.


Caution

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

  • Ignore

❌ Failed checks (1 error)

Check name Status Explanation Resolution
Testing (Overall) ❌ Error Tests added are not substantive for the primary change. The manifest test only verifies synchronisation between action.yml and NODE24_ACTION_REVISIONS (both could be wrong together); it does not ve... Add tests that verify the upgraded revisions actually declare Node.js 24 runtime (by inspecting action metadata). Add runtime tests asserting absence of Node.js 20 deprecation warnings in logs. Strengthen the manifest test to verify revi...
✅ Passed checks (19 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
User-Facing Documentation ✅ Passed User-facing documentation in docs/users-guide.md clearly documents the Node.js 24 dependency update, explaining the removal of deprecation warnings whilst noting unchanged action inputs and cache...
Developer Documentation ✅ Passed Accept the documentation: docs/developers-guide.md records SHA pinning, Node.js runtime verification, test synchronisation and runner validation; existing harness guidance covers act requirements,...
Module-Level Documentation ✅ Passed Both Python modules in the PR carry module-level docstrings explaining purpose, utility, and relationships to other components: test_setup_rust_manifest.py documents manifest regression testing, an...
Testing (Unit And Behavioural) ✅ Passed Unit test test_node_actions_use_pinned_node24_revisions verifies manifest invariants by loading actual action.yml. Structural test test_setup_rust_toolchain_workflow_shape validates workflow co...
Testing (Property / Proof) ✅ Passed The PR updates dependency versions with deterministic tests over fixed values (pinned commit SHAs, specific Node.js 24 runtime) and integration tests with static assertions. No invariants over rang...
Testing (Compile-Time / Ui) ✅ Passed PR modifies only GitHub Actions configuration and tests; no Rust/TypeScript compile-time or UI/output changes present, therefore trybuild/snapshot testing is not applicable.
Unit Architecture ✅ Passed Pass: the diff only changes action pins, documentation, and explicit manifest/runner tests; no new domain unit hides I/O, mutation, network calls, or dependencies.
Domain Architecture ✅ Passed This PR modifies only GitHub Actions infrastructure (action versions, CI/CD workflows, and test infrastructure), containing no application domain logic subject to domain architecture review.
Observability ✅ Passed No operational observability gap is introduced because the PR only updates pinned action revisions and adds validation/documentation; cache configuration and workflow behaviour remain unchanged.
Security And Privacy ✅ Passed No secrets, authentication bypasses, authorisation gaps, injection risks, over-broad permissions, or sensitive data exposure detected. Actions pinned to full-length SHAs; inputs validated; permissi...
Performance And Resource Use ✅ Passed The PR adds test code and documentation for Node.js 24 dependency updates. All new code exhibits bounded, linear complexity with no unbounded allocations, nested loops, or I/O in loop contexts. The...
Concurrency And State ✅ Passed This PR updates GitHub Actions dependency versions and adds manifest verification tests and workflow coverage. It introduces no shared mutable state, no async/await patterns with concurrency concer...
Architectural Complexity And Maintainability ✅ Passed Introduced abstractions remain proportional: NODE24_ACTION_REVISIONS centralises pin metadata to guide maintenance and parametrises tests, reducing duplication versus 5 separate test functions. The...
Rust Compiler Lint Integrity ✅ Passed The pull request changes no Rust files and adds no Rust lint suppressions or clone-based ownership code; this check is not triggered by the reviewed changes.
Title check ✅ Passed Accept the title: it accurately summarises the main change, which updates setup-rust dependencies for the Node.js 24 runtime. No roadmap or relevant issue number is required.
Description check ✅ Passed Accept the description: it directly explains the dependency updates, preserved behaviour, tests, documentation, and scope boundaries.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue-81-update-setup-rust-action-dependencies-to-remove-node-js-20-deprecation-warnings

Warning

Your free Security trial is over. An organization admin can activate billing to continue.


Comment @coderabbitai help to get the list of available commands.

@sourcery-ai

sourcery-ai Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Reviewer's Guide

This PR updates the setup-rust composite GitHub Action to use pinned Node.js 24-compatible revisions of its Node-based dependencies (actions/cache, mozilla-actions/sccache-action, and msys2/setup-msys2), and adds a regression test to ensure those exact revisions remain pinned, while documenting the change in the changelog and README.

Flow diagram for setup-rust manifest regression test on pinned revisions

flowchart TD
  test_manifest["test_setup_rust_manifest.py"] --> read_manifest["Read setup-rust/action.yml"]
  read_manifest --> check_cache_revision["Check actions/cache commit SHA matches Node.js 24 pin"]
  check_cache_revision --> check_sccache_revision["Check sccache-action commit SHA matches Node.js 24 pin"]
  check_sccache_revision --> check_msys2_revision["Check setup-msys2 commit SHA matches Node.js 24 pin"]
  check_msys2_revision --> test_pass["Tests pass if all revisions are exactly pinned"]
Loading

File-Level Changes

Change Details Files
Pin Node-based steps in setup-rust action to Node.js 24-compatible commit SHAs for cache, sccache, and MSYS2.
  • Update actions/cache steps to use commit 55cc8345... (v6.1.0) for cargo registry and OpenBSD stdlib caches.
  • Update mozilla-actions/sccache-action steps to use commit fc920bf0... (v0.0.11) for both macOS x86_64 and other runners.
  • Update msys2/setup-msys2 step to use commit 66cd2cce... (v2.32.0) for installing the MSYS2 toolchain and SQLite.
.github/actions/setup-rust/action.yml
Add regression coverage to enforce pinned Node.js 24 action revisions in the manifest.
  • Introduce NODE24_ACTION_REVISIONS mapping of step names to expected uses strings for Node-based actions.
  • Add parametrized pytest test asserting each Node-based step uses the expected Node.js 24-compatible revision.
.github/actions/setup-rust/tests/test_setup_rust_manifest.py
Document the Node.js 24 dependency update in the setup-rust changelog and README.
  • Add v1.0.16 changelog entry describing the update of actions/cache, sccache-action, and setup-msys2 to Node.js 24 runtime releases.
  • Update README sccache documentation to reference the new pinned mozilla-actions/sccache-action commit SHA.
.github/actions/setup-rust/CHANGELOG.md
.github/actions/setup-rust/README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

codescene-access[bot]

This comment was marked as outdated.

codescene-access[bot]

This comment was marked as outdated.

@leynos
leynos marked this pull request as ready for review August 3, 2026 10:14
@leynos
leynos self-requested a review as a code owner August 3, 2026 10:14

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @leynos, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai coderabbitai Bot added the Issue label Aug 3, 2026
coderabbitai[bot]

This comment was marked as resolved.

codescene-access[bot]

This comment was marked as outdated.

codescene-access[bot]

This comment was marked as outdated.

codescene-access[bot]

This comment was marked as outdated.

@leynos

This comment was marked as resolved.

@coderabbitai

This comment was marked as resolved.

codescene-access[bot]

This comment was marked as outdated.

codescene-access[bot]

This comment was marked as outdated.

@leynos

leynos commented Aug 3, 2026

Copy link
Copy Markdown
Owner

@coderabbitai resume

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Reviews resumed.

@coderabbitai coderabbitai Bot removed the Issue label Aug 3, 2026
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- PR metadata, body, and checks ---'
gh pr view 396 --repo leynos/shared-actions \
  --json number,state,title,url,body,headRefName,baseRefName \
  --jq '{number,state,title,url,headRefName,baseRefName,body}'
gh pr checks 396 --repo leynos/shared-actions || true

echo '--- Changed files ---'
gh pr diff 396 --repo leynos/shared-actions --name-only

echo '--- Linked issue `#81` ---'
gh issue view 81 --repo leynos/shared-actions \
  --json number,state,title,url,body \
  --jq '{number,state,title,url,body}'

echo '--- Relevant source map ---'
fd -HI -t f '^(action\.ya?ml|developers-guide\.md|test_.*\.py|.*\.ya?ml)$' \
  .github docs 2>/dev/null | sed -n '1,240p'

echo '--- Documentation and manifest-test evidence ---'
rg -n -i -C 4 \
  '(NODE24_ACTION_REVISIONS|Node\.js 24|full commit SHA|setup-rust.*maint|action-pin|act-backed|runner-backed)' \
  docs .github/actions/setup-rust .github/workflows 2>/dev/null || true

echo '--- setup-rust cache, sccache, and diagnostics evidence ---'
rg -n -i -C 3 \
  '(cache-hit|cache.*(hit|miss)|sccache.*(hit|miss|stat)|failure categor|runner OS|setup-rust)' \
  .github/actions/setup-rust .github/workflows 2>/dev/null || true

echo '--- Existing observability issues ---'
gh issue list --repo leynos/shared-actions --state all --limit 100 \
  --search '"cache" "sccache" "diagnostic"' \
  --json number,state,title,url \
  --jq '.[] | "\(.number)\t\(.state)\t\(.title)\t\(.url)"'

Length of output: 45325


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- Workflow: local setup-rust and downstream validation ---'
sed -n '96,145p' .github/workflows/test-rustflags-export.yml

echo '--- Act-backed workflow test map and relevant assertions ---'
ast-grep outline tests/workflows/test_rustflags_export_workflow.py --items all --view expanded
rg -n -C 8 \
  '(setup-rust-toolchain-available|setup-rust-toolchain|rustc --version|cargo --version|ACT_WORKFLOW_TESTS|act)' \
  tests/workflows/test_rustflags_export_workflow.py

echo '--- PR diff for runner workflow and test ---'
gh pr diff 396 --repo leynos/shared-actions -- \
  .github/workflows/test-rustflags-export.yml \
  tests/workflows/test_rustflags_export_workflow.py

Length of output: 820


🏁 Script executed:

#!/bin/bash
set -euo pipefail

gh api --paginate \
  'repos/leynos/shared-actions/pulls/396/files?per_page=100' \
  --jq '.[] | select(.filename == ".github/workflows/test-rustflags-export.yml" or .filename == "tests/workflows/test_rustflags_export_workflow.py") | "### \(.filename)\n\(.patch // "PATCH_UNAVAILABLE")\n"'

Length of output: 4348


@leynos: Three warnings are resolved. Two follow-up actions remain.

Check Status Evidence or required action
Linked Issues check Unresolved The PR body correctly links the external agent-template-rust issue. However, the PR title still ends with (#81). Remove this local reference. Local #81 is closed and concerns unrelated rust-build-release and shellstub.py work.
Developer Documentation Resolved docs/developers-guide.md now documents verified full-SHA pins, Node.js runtime verification, synchronizing NODE24_ACTION_REVISIONS, and manifest plus runner-backed validation.
Testing (Unit And Behavioural) Resolved .github/workflows/test-rustflags-export.yml invokes the local ./.github/actions/setup-rust action on Linux. It uses toolchain: stable, disables binstall and sccache, and verifies downstream rustc --version and cargo --version. The act-backed test checks the workflow shape and successful downstream tool output.
Observability Unresolved in this PR; track separately The PR preserves cache configuration and only updates dependency revisions. No existing matching observability issue was found. Create the follow-up issue below.

All current CI checks pass. Passing CI does not remove the remaining title ambiguity or replace the required observability tracking.

Use this AI agent prompt for the remaining work:

Work on GitHub pull request https://github.com/leynos/shared-actions/pull/396.

Complete the two remaining review actions.

1. Correct the local issue reference
   - Change the PR title from `Update setup-rust dependencies for Node.js 24 (`#81`)`.
   - Remove `(`#81`)` from the title.
   - Do not add any closing keyword or local `#81` reference.
   - Keep the existing external `agent-template-rust `#81`` link in the PR body.
   - Do not modify `.github/actions/rust-build-release` or any `shellstub.py` file. Local shared-actions `#81` is closed and unrelated to this Node.js 24 dependency-pin PR.

2. Create a GitHub follow-up issue
   - Repository: `leynos/shared-actions`
   - Assign the issue to `leynos`.
   - Title: `Add bounded cache and sccache diagnostics to setup-rust`
   - Add this scope:
     - Add actionable, bounded workflow diagnostics for `setup-rust` cache and sccache outcomes.
     - Include runner OS, cache category, hit or miss state where available, and a non-sensitive failure category.
     - Add tests and developer documentation.
     - Do not emit cache keys, paths, tokens, or unbounded command output.
   - Add this rationale:
     - PR `#396` updates third-party action pins and preserves existing cache configuration.
     - Cache and sccache observability is an independent operational enhancement.
   - Add links to PR `#396` and this review comment.
   - Define acceptance criteria for bounded fields, no sensitive values, tests, and documentation.

Do not change the setup-rust action implementation in PR `#396` for observability. Keep the current documentation and runner-backed coverage changes.

You are interacting with an AI system.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/actions/setup-rust/tests/test_setup_rust_manifest.py:
- Around line 214-223: Update the assertion in
test_node_actions_use_pinned_node24_revisions to include a failure message
containing both step_name and expected_revision, while preserving the existing
comparison.

In @.github/workflows/test-rustflags-export.yml:
- Around line 107-122: Isolate the Rust toolchain contract test by invalidating
or removing any preinstalled Rust tools before the setup-rust action, then
verify that the required toolchain was selected after setup rather than merely
checking generic rustc and cargo availability. In
.github/workflows/test-rustflags-export.yml lines 107-122, update the setup and
verification steps accordingly; in
tests/workflows/test_rustflags_export_workflow.py lines 151-159, assert output
evidence of the selected required toolchain, with no direct change needed
elsewhere.

In `@tests/workflows/test_rustflags_export_workflow.py`:
- Around line 54-76: Strengthen the workflow parsing test around WORKFLOW_PATH
by validating the loaded document, jobs mapping, selected
setup-rust-toolchain-available job, steps collection, and each step mapping
before indexing, removing the dict[str, typ.Any] cast. Replace both bare next
calls with diagnostic assertions, and add informative messages to all six
assertions in the shown validation block. Run a type check that includes
tests/workflows because make typecheck excludes this file.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 51082a73-6d25-4e20-b9de-147935158ee3

📥 Commits

Reviewing files that changed from the base of the PR and between 47b337e and 484a366.

📒 Files selected for processing (7)
  • .github/actions/setup-rust/CHANGELOG.md
  • .github/actions/setup-rust/README.md
  • .github/actions/setup-rust/action.yml
  • .github/actions/setup-rust/tests/test_setup_rust_manifest.py
  • .github/workflows/test-rustflags-export.yml
  • docs/developers-guide.md
  • tests/workflows/test_rustflags_export_workflow.py
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • leynos/polythene (auto-detected)

Comment thread .github/actions/setup-rust/tests/test_setup_rust_manifest.py Outdated
Comment thread .github/workflows/test-rustflags-export.yml
Comment thread tests/workflows/test_rustflags_export_workflow.py Outdated
@leynos leynos changed the title Update setup-rust dependencies for Node.js 24 (#81) Update setup-rust dependencies for Node.js 24 Aug 4, 2026
codescene-access[bot]

This comment was marked as outdated.

codescene-access[bot]

This comment was marked as outdated.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/workflows/test_rustflags_export_workflow.py`:
- Around line 69-98: Extend the workflow structure test around the existing
setup_steps and verify_steps assertions to locate exactly one “Remove the
preinstalled stable toolchain” step before “Setup stable Rust”. Assert its run
script uninstalls the stable toolchain and verifies that “rustup run stable
rustc” fails, ensuring the local setup-rust action is tested without relying on
a runner-provided stable toolchain.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: dd27e2ab-f28b-4a5a-b55c-207f9e2f5770

📥 Commits

Reviewing files that changed from the base of the PR and between 484a366 and e39e3be.

📒 Files selected for processing (4)
  • .github/actions/setup-rust/tests/test_setup_rust_manifest.py
  • .github/workflows/test-rustflags-export.yml
  • docs/users-guide.md
  • tests/workflows/test_rustflags_export_workflow.py
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • leynos/polythene (auto-detected)

Comment thread tests/workflows/test_rustflags_export_workflow.py
@pandalump

Copy link
Copy Markdown
Collaborator

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Pin every Node-based dependency in `setup-rust` to a verified
Node.js 24 release and guard the revisions with manifest tests.
leynos added 6 commits August 25, 2026 03:47
List every Node.js-backed action revision changed by the setup-rust update so
the README remains aligned with the composite action manifest.
Document how maintainers verify and synchronize the Node.js 24 action
pins. Exercise the local `setup-rust` composite action with `act` and
prove that `rustc` and `cargo` remain available to downstream steps.
Remove the preinstalled stable toolchain before exercising the composite
action and prove that setup selects stable for downstream Rust commands.
Harden workflow-shape diagnostics and document the user-visible Node.js 24
dependency update.
Use the same full commit SHA and v2.32.0 annotation as the setup-rust
manifest so the copy-paste example follows the repository's action-pinning
policy.
Run Ty against the project virtual environment so declared dependencies are
available during type checking. Exempt subprocess-based Whitaker properties
from Hypothesis's unit-test timing limit while retaining their generated
installation assertions, and record the focused falsification evidence.
Guard the act-backed workflow fixture against silently relying on the runner's
preinstalled stable toolchain. The structural test now verifies the removal
step, its failure probe, and its ordering before local setup-rust execution.
@leynos
leynos force-pushed the issue-81-update-setup-rust-action-dependencies-to-remove-node-js-20-deprecation-warnings branch from e39e3be to 70858c3 Compare August 25, 2026 01:58
codescene-access[bot]

This comment was marked as outdated.

codescene-access[bot]

This comment was marked as outdated.

@codescene-access codescene-access Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No quality gates enabled for this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants